#include <stdio.h>
#include <string.h>
#include "Md5.c"

int main()
{
    int i;
    unsigned char * message = "admin";
    printf("The message is %s\n",message);
    MD5(message,strlen(message));
    printf("MD5 hash value is \n");
    for (i = 0; i < 16; i++)
    {
        printf("%02x ", hashRes[i]);
    }
    printf("\n");

    unsigned char * message2 = "I love china";
    printf("The message is %s\n",message);
    MD5(message2,strlen(message2));
    printf("MD5 hash value is \n");
    for (i = 0; i < 16; i++)
    {
        printf("%02x ", hashRes[i]);
    }
    printf("\n");
}